import Cookies from 'js-cookie'

const TokenKey = 'Authorization'

export const getToken = (): string => {
  return Cookies.get(TokenKey)
}

export const setToken = (token: string):any => {
  return Cookies.set(TokenKey, token)
}

export const removeToken = ():any => {
  return Cookies.remove(TokenKey)
}
